//
//  HomeModel.m
//  敢唆嘛!
//
//  Created by 教主 on 15/11/24.
//  Copyright © 2015年 zms. All rights reserved.
//

#import "HomeModel.h"

@implementation HomeModel

- (instancetype)initWithObj:(BmobObject *)obj
{
    self = [super init];
    if (self)
    {
        self.realityObjectId = [obj objectForKey:@"realityObjectId"];
        self.userName = [obj objectForKey:@"userName"];
        self.infoTitle = [obj objectForKey:@"infoTitle"];
        self.info = [obj objectForKey:@"info"];
        self.createdAt = [obj createdAt];
        self.recommendInfoTitle = [obj objectForKey:@"recommendInfoTitle"];
        self.recommendUserName = [obj objectForKey:@"recommendUserName"];
        self.type = [obj objectForKey:@"type"];
    }
    return self;
}

@end
